﻿using System.Collections.Generic;
using System.Text;

namespace EcoSystem
{

    /// <summary>
    /// 分类下树
    /// </summary>
    public class ReportCategoryConfigTreeDto : ReportCategoryConfigDto
    {
        /// <summary>
        /// 下级分类
        /// </summary>
        public List<ReportCategoryConfigTreeDto> Children { get; set; }

        public ReportCategoryConfigTreeDto() { }

        public ReportCategoryConfigTreeDto(ReportCategoryConfigDto input)
        {
            this.Id = input.Id;
            this.Type = input.Type;
            this.ParentId = input.ParentId;
            this.Name = input.Name;
            this.Remarks = input.Remarks;
            this.Status = input.Status;
        }
    }
}
